/**
 * 
 */
package com.wegax.finprod.processor.init;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * @author wegax
 * 
 */
@Configuration
@ImportResource("com/wegax/finprod/processor/init/appctx-processor-infrastructure.xml")
public class ProcessorInfrastructureConfiguration {

	private static final Logger log = LoggerFactory.getLogger(ProcessorInfrastructureConfiguration.class);

	// @Bean
	// ConnectionFactory rabbitConnectionFactory() {
	// CloudRabbitConnectionFactoryBean connectionFactoryBean = new CloudRabbitConnectionFactoryBean();
	// try {
	// return connectionFactoryBean.getObject();
	// } catch (Exception e) {
	// log.error(e.getMessage(), e);
	// throw new RuntimeException(e);
	// }
	// }
	//
	// @Bean
	// public RabbitTemplate rabbitTemplate() {
	// RabbitTemplate rabbitTemplate = new RabbitTemplate(rabbitConnectionFactory());
	// return rabbitTemplate;
	// }

}
